package aaaCasher;

 

import javax.swing.JFrame;

import com.attilax.ui.SwtX;
import com.openbravo.basic.BasicException;
import com.openbravo.pos.forms.AppConfig;
import com.openbravo.pos.forms.JRootApp;
import com.openbravo.pos.forms.JRootFrame;
import com.openbravo.pos.sales.JPanelTicketSales;

public class aaa33 {

	public static void main(String[] args) throws BasicException {
		
		
		  AppConfig config = new AppConfig( args);
		  /*  68 */         config.load();
		  JRootFrame rootframe = new JRootFrame();
		  /* 107 */           rootframe.initFrame(config);
		  JRootApp jra=rootframe.m_rootapp;
		  
		  
		JFrame frame=new JFrame();
		JPanelTicketSales saleForm=new JPanelTicketSales();
		saleForm.init(jra);
		saleForm.activate();
		frame.add(saleForm);
		frame.pack();
		 frame.setVisible(true);
		// TODO Auto-generated method stub
//smb://admin:admin@192.168.2.106 
		//D:\PotPlayer\PotPlayerMini64.exe  \\192.168.2.106\电影\最新电影\碟中谍5：神秘国度.mkv 
		
		Runnable r = new Runnable() {

			@Override
			public void run() {
				System.out.println("---------- will start swt thread...");
				final casherForm ef=new casherForm();
	    		ef.show();
				SwtX ef2 = new SwtX();
				ef2.threadRecycle4swimg();
				System.out.println("---------- root ok...");

			}
		};
		//r.run();
		
	}

}
